//
//  PAChekText.h
//  PAMobileWallet
//
//  Created by shen pu on 13-7-21.
//  Copyright (c) 2013年 平安付. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    Status_NULL             = -1,    //空字符串
    Status_Nil              = -2,    //空字符串对象
    Status_LengthBig        = -3,    //长度大于
    Status_LengthSmall      = -4,    //长度小于
    Status_ZipCode          = -5,    //邮编内容
    Status_PolicyCode       = -6,    //保单号出现数字和字母以外的非法字符
    Status_CertiNo          = -7,    //身份证
    Status_MobileNo         = -8,    //电话号码
    Status_BankCode         = -9,    //银行验证
    Status_Payments         = -10,   //金额验证
    Status_Email            = -11,   //email
    Status_DynamicCode      = -12,   //验证码
    Status_ValidName        = -13,   //无效的姓名
    Status_ValidNameLength  = -14,   //无效的姓名长度
    Status_ValidLoginPW     = -15,   //验证设置登录密码 
    Status_ValidPayPW       = -16,   //验证设置支付密码
    Status_ValidBankCard    = -17,   //银行卡
    Status_VerificationCode = -18,   //验证码


} StringStatus;

@interface PAChekText : NSObject

+ (StringStatus)validString:(NSString *)string;
+ (StringStatus)validMobileNo:(NSString *)MobileNo;
+ (BOOL)isMobileNumber:(NSString *)mobileNum;
+ (StringStatus)validBankCard:(NSString *)bankCard;
+ (StringStatus)validVerificationCode:(NSString *)verificationCode;
+ (StringStatus)validEmail:(NSString *)Email;
+ (StringStatus)validCertiNo:(NSString *)CertiNo;
+ (StringStatus)validCardID:(NSString *)getCardID;
+ (StringStatus)validUserName:(NSString *)username;
+ (StringStatus)validSetLoginPW:(NSString *)setLoginPW;
+ (StringStatus)validSetPayPW:(NSString *)setPayPW;
+ (StringStatus)validZipCode:(NSString *)ZipCode;

+ (UIAlertView *)tipingAlert:(NSString *)getMessage isCancle:(NSString *)getTypeStr;


@end
